package com.example01;

/**
 * Created by yangjun on 2018/3/22.
 */
public class Emperor {

    private static final Emperor emperor = new Emperor();

    private Emperor() {}

    public static Emperor getInstance() {
        return emperor;
    }

    public static void say() {
        System.out.println("我是皇帝某某某。。。");
    }
}
